home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
postRenderEffectsTest
/
labelEffectTest.s3d
< prev
next >
Wrap
Text File
|
2000-09-11
|
3KB
|
124 lines
#VRML V2.0 utf8
LabelEffect {
label_text "abfghijklopqrxyz!@#$%^&*()"
label_text_size 16
label_text_style "bolditalic"
label_text_font "Verdana"
label_bg_color [ 0.1 0.1 0.1 ]
label_border_color [ 0.7 0 1 ]
label_text_color [ 0.9 0.9 0.9 ]
x_position 10
y_position 10
}
DEF CYLINDER Transform {
children Shape {
appearance Appearance {
material Material { diffuseColor 0 1 1 }
}
geometry Cylinder { height 8 radius 0.5 }
}}
DEF TOP_XF Transform {
children [
DEF SPHERE Transform {
children Shape {
appearance Appearance {
material Material {
diffuseColor 0.88 0.15 0.01
}
}
geometry Sphere {}
}
translation -2 1 0
scale 1 1 1
}
DEF BOX Transform {
children Shape {
appearance Appearance {
material Material {
diffuseColor 0.8 0 0.743
}
}
geometry Box {}
}
translation -3.58e-007 1 3
rotation 0 0 1 0
}
DEF CONE Transform {
children Shape {
appearance Appearance {
material Material {
diffuseColor 0.8 0.795 0
}
}
geometry Cone {}
}
translation 3.51 1 -5
}
]
translation 3.42e-007 0 -2.39e-007
rotation 0 0 1 0
center 0.755 1 -1
}Group {
children [
DEF TIMESENSOR1 TimeSensor {
loop true
cycleInterval 2
}
DEF BOXRotInterp OrientationInterpolator {
key [ 0, 0.5, 1 ]
keyValue [ 0 0 1 0,
0 0 -1 1.05,
0 0 1 0 ]
}
DEF SPHERETransInterp PositionInterpolator {
key [ 0, 0.5, 1 ]
keyValue [ -2 1 0,
-2 0.256 0,
-2 1 0 ]
}
DEF SPHEREScaleInterp PositionInterpolator {
key [ 0, 0.5, 1 ]
keyValue [ 1 1 1,
1 0.256 1,
1 1 1 ]
}
DEF CONETransInterp PositionInterpolator {
key [ 0, 0.3, 0.6, 1 ]
keyValue [ 3.51 1 -5,
4.4 1 -3.99,
3.07 1 -5.32,
3.51 1 -5 ]
}
DEF TIMESENSOR2 TimeSensor {
loop true
cycleInterval 6
}
DEF TopRotInterp OrientationInterpolator {
key [ 0, 0.25, 0.5, 0.75, 1 ]
keyValue [ 0 0 1 0,
0 -1 0 1.57,
0 1 0 3.14,
0 1 0 1.57,
0 0 1 0 ]
}
]
}
Viewpoint {
position -6.49 6.45 10.5
orientation -0.639 -0.745 -0.192 0.733
fieldOfView 0.785
}
ROUTE TIMESENSOR1.fraction_changed TO BOXRotInterp.set_fraction
ROUTE TIMESENSOR1.fraction_changed TO SPHERETransInterp.set_fraction
ROUTE TIMESENSOR1.fraction_changed TO SPHEREScaleInterp.set_fraction
ROUTE TIMESENSOR1.fraction_changed TO CONETransInterp.set_fraction
ROUTE SPHERETransInterp.value_changed TO SPHERE.set_translation
ROUTE SPHEREScaleInterp.value_changed TO SPHERE.set_scale
ROUTE BOXRotInterp.value_changed TO BOX.set_rotation
ROUTE CONETransInterp.value_changed TO CONE.set_translation
ROUTE TIMESENSOR2.fraction_changed TO TopRotInterp.set_fraction
ROUTE TopRotInterp.value_changed TO TOP_XF.set_rotation